/**
 * 
 */
package galacticthrone.screen.text;

// TODO Javadoc
/**
 * 
 *
 * @author Jaco van der Westhuizen
 */
class TestSplit
{

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		String[] lines = ("abcd\r\n\r\n\n" +
				"efgh").split("\r{0,1}\n{1}");
		
		for (int i = 0; i < lines.length; i++)
		{
			System.out.println(i + ": '" + lines[i] + "'");
		}
	}

}
